package com.iflytek.day04;

public class _10_ForPractice01 {
    public static void main(String[] args) {
        //需求：输出数据1-5
        for(int i=1; i<=5; i++) {
            System.out.println(i);
        }

        System.out.println("---------------");
        int j=1;
        while(j<=5){
            System.out.println(j);
            j++;
        }



    }
}
